﻿using AutoMapper;
using Navigant.DataContracts;
using Navigant.Infrastructure.Cases;

namespace Navigant.Mapping
{
    public class CaseContractConverter : ITypeConverter<CaseContract, ICase>
    {
        #region ITypeConverter<CaseContract,ICase> Members

        public ICase Convert(CaseContract source)
        {
            return Converter.ToCase(source);
        }

        #endregion
    }
}
